<body class="sidebar-mini skin-blue sidebar-mini">
<div class="wrapper">


<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper no-margin" >
    <!-- Content Header (Page header) -->
    <section class="content-header">
        <h1>
            [tblTitle]
            <!--<small>advanced tables</small>-->
        </h1>
        <!--<ol class="breadcrumb">
            <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
            <li><a href="#">Tables</a></li>
            <li class="active">Data tables</li>
        </ol>-->
    </section>

    <!-- Main content -->
    <section class="content">
        <!-- 查询表单 -->
        <div class="builder-toolbar">
            <div class="row querydiv">
            </div>
        </div>


        <!--<div class="box-header with-border">
            <h3 class="box-title">Different Width</h3>
        </div>-->
        <div class="box box-body" style="margin-bottom: 0px;">

            <form class="form" id="formquery" method="post" >

               <label>用户名：</label>
                <label><input name="username" id="username" class="form-control autowidth" value=""  /></label>
                <!-- <label>条件：</label>
                <label><input name="id" class="form-control autowidth" value=""  /></label>-->


                <label>
                    <input type="hidden" id="pageindex" name="pageindex" value="1">
                    <input type="hidden" id="pagesize" name="pagesize"  value="10">
                    <a id="btnsubmit"  class="btn btn-primary " onclick="getListData(1)" >查询</a>
                    <a id="btnadd" class="btn btn-warning " onclick="popupEdit(0)">添加</a>
                </label>

            </form>


        </div>
        <!-- /.box-body -->


        <div class="row">
            <div class="col-xs-12">
                <div class="box" style="border-top: 1px solid #d2d6de;">
                    <!-- /.box-header -->
                    <div class="box-body">
                        <table id="app" class="table table-bordered table-striped table-hover">
                             <thead>
                            <tr>
                                <th>编号</th>
                              [loop start]
                                <th>[fldTitle]</th>
                              [loop end]^ 
                                 <th >操作 </th>
                            </tr>
                            </thead>
                            <tbody>
                                    <tr v-cloak :data-id="info.id"  v-for="(info, index) in listdata">
										<td>[[info.id]]</td>
                                       [loop start]
										<td>[[info.[fldName]]]</td>
                                      [loop end]^
										<td>
										<div class="ant-row-flex ant-row-flex-center ant-row-flex-middle table-oprator ta-c">
											<a :name="info.id" class="btnedit" onclick="popupEdit(this.name);">
											<i class="fa fa-pencil" title="修改"></i></a>
											<a :name="info.id" class="btndelete" onclick="popupDelete(this.name);">
											<i class="fa fa-trash" title="删除"></i></a>
										</div>
										</td>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                    <!-- /.box-body -->
                </div>
                <!-- /.box -->
            </div>
            <!-- /.col -->
        </div>
        <!-- /.row -->
        <!-- 分页 -->
        <div class="pagination ue-clear"></div>
    </section>
    <!-- /.content -->
</div>
<!-- /.content-wrapper -->
    {{ partial("layouts/footer") }}
</div>
</body>
<script src="/views/{subFolder}/{tblName}List.js"></script>


